package com.harmontronics.hanma.paas.paas.domain.releasesetup.repository.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.harmontronics.hanma.paas.paas.consts.EnvEnum;
import com.harmontronics.hanma.paas.paas.domain.releasesetup.entity.valueobject.ReleaseStatusEnum;
import lombok.Data;

/**
 * 应用发布记录表
 *
 * @author paas-generator
 * @email paas-generator@harmontronics.com
 * @date 2021-04-14 15:55:21
 */
@Data
@TableName("hm_release_record")
public class HmReleaseRecordPO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.comments
     */
    @TableId
    private Long id;
    /**
     * $column.comments
     */
    private String appUniqueId;
    /**
     * 发布版本
     */
    private String releaseVersion;
    /**
     * 发布内容
     */
    private String releaseContent;
    /**
     * 状态 0：发布中 1：已发布
     */
    private ReleaseStatusEnum status;
    /**
     * $column.comments
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createDate;
    /**
     * $column.comments
     */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    /**
     * $column.comments
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyDate;
    /**
     * $column.comments
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String modifyBy;


    private EnvEnum setupType;


    private String zipUrl;

}
